package com.un.ebs.quality.dto;

import cn.hutool.db.DaoTemplate;
import com.un.ebs.quality.enums.QualityTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author liubo
 * @create 2021-04-12 10:02
 */
@Data
public class QualityQueryDto {

    private String searchText;

    private QualityTypeEnum type;

    private Date startDate;

    private Date endDate;

    @NotNull(message = "请指定分页大小")
    private int pageSize;

    @NotNull(message = "请指定查询的页")
    private int pageIndex;
}
